﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;

namespace DelCompany
{
    public partial class Message : Form
    {
        public Message()
        {
            InitializeComponent();
        }

        private void Message_Shown(object sender, EventArgs e)
        {
            string urlList = "";
            if (File.Exists(GlobalAttrib.UrlLogsFile))
            {
                urlList = File.ReadAllText(GlobalAttrib.UrlLogsFile);
                this.rtbDeleteResult.AppendText(urlList);
            }
            string picList = "";
            if (File.Exists(GlobalAttrib.PicLogsFile))
            {
                picList = File.ReadAllText(GlobalAttrib.PicLogsFile);
                this.rtbDeleteResult.AppendText(picList);
            }
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Close();
            this.Dispose();
        }


    }
}
